package oo5;

import oo4.Dog;
import oo4.Penguin;
import oo4.Pet;

public class PetDoctorTest {

	public static void main(String[] args) {
		// Pet p = new Pet();

		PetDoctor doctor = new PetDoctor("弼马温");
		Tiger t = new Tiger("小花花", 60, 60, "公");
		doctor.cure(t);
		System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>.");
		Pet m = new Myna("小百灵", 20, 99, "雄");
		doctor.cure(m);
		System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
		Dog d = new Dog("中华田园犬", "二黄", 100, 99, "母");
		doctor.cure(d);
		System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
		Penguin p = new Penguin("帝企鹅");
		doctor.cure(p);
	}

}
